Skip to content

fix(telegraf): keep host PID namespace for GPU metrics - #1617

Merged
zexi merged 1 commit into
yunionio:release/4.0from
zexi:fix/telegraf-host-pid-for-gpu-metrics
Nov 24, 2026
Merged

zexi merged 1 commit into
yunionio:release/4.0from
zexi:fix/telegraf-host-pid-for-gpu-metrics

Conversation

@zexi

@zexi zexi commented Nov 24, 2026

Copy link
Copy Markdown
Member

telegraf's nvidia_smi input runs nvidia-smi inside the container. Without the host PID namespace NVML only reports processes in the container's own namespace, so GPU process metrics come back empty/zero even though the host's nvidia-smi sees them. Set HostPID to true on the telegraf DaemonSet, matching the host component.

telegraf's nvidia_smi input runs nvidia-smi inside the container. Without
the host PID namespace NVML only reports processes in the container's own
namespace, so GPU process metrics come back empty/zero even though the
host's nvidia-smi sees them. Set HostPID to true on the telegraf
DaemonSet, matching the host component.
@zexi
zexi merged commit 142230b into yunionio:release/4.0 Nov 24, 2026
1 check passed
zexi added a commit that referenced this pull request Nov 24, 2026
…tream-release-4.0.5

Automated cherry pick of #1617: fix(telegraf): keep host PID namespace for GPU metrics
zexi added a commit that referenced this pull request Nov 24, 2026
…tream-release-4.1

Automated cherry pick of #1617: fix(telegraf): keep host PID namespace for GPU metrics
zexi added a commit that referenced this pull request Nov 24, 2026
…tream-release-4.1.0

Automated cherry pick of #1617: fix(telegraf): keep host PID namespace for GPU metrics
zexi added a commit that referenced this pull request Nov 24, 2026
…tream-master

Automated cherry pick of #1617: fix(telegraf): keep host PID namespace for GPU metrics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant